package com.example.hospital.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class LoginRequest {
    // 用户名或手机号任选其一
    private String username;
    private String phone;
    @NotBlank
    @Size(min = 1)
    private String password;
}